home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / vbalyz / readme.txt < prev    next >
Encoding:
Text File  |  1995-01-05  |  1.7 KB  |  41 lines

  1. VB*Alyzer
  2. =========
  3.  
  4. This is a little app that I wrote one evening to provide
  5. a number of simple metrics (and one slightly more complex
  6. one) on a VB project. I'd just finished re-structuring one
  7. of my idiot ex-boss's apps, and I was keen to see how much
  8. I'd improved it!
  9.  
  10. It scans a VB project's files and counts, amongst other
  11. things, numbers of lines, variables, constants etc. See
  12. the options setup for more. One "interesting" addition
  13. is the McCabe Complexity measure (or what "Code Complete"
  14. says that is, anyway), which is supposed to give a rule-
  15. of-thumb measurement of a routine's complexity, 
  16. surprisingly enough... It works by assigning a value of 1
  17. to each routine and adding one for each "decision point":
  18. things like If, While, For, And, and so on. Routines with
  19. high ( > 10?) values are worth examining for possible
  20. restructuring.
  21.  
  22. Rather than an EXE, I've provided source - one form, three
  23. modules and an icon. Strap them into a project, after
  24. adding THREED.VBX, CMDIALOG.VBX and GRID.VBX, and run.
  25.  
  26. The interface may look a little clumsy. That's because I've
  27. taken out the FPGRID10 and VSVBX parts that I used in my 
  28. own version. I didn't see that there was any sense cluttering
  29. up the ZIP file with runtime versions of VBXs when the
  30. intention was to allow the user to play with the source!
  31. FWIW, the three frames are VSVBX tabs in the original, and
  32. I use the grid from VBTools 4 (FPGRID10.VBX). The latter is
  33. little different in functionality to the VB Grid, as far as
  34. I've used it here, so the only obvious loss is the 3D aspect.
  35.  
  36. This is FREEWARE, but I'll support it if (a) someone asks me;
  37. and (b) I feel it. Any comments and/or suggestions received with
  38. interest.
  39.  
  40. Mike Woodhouse
  41. 73503,2522